package net.myjung.model;

import java.util.List;

import net.myjung.model.annotation.MdlAttribute;
import net.myjung.model.annotation.MdlClass;
import net.myjung.model.annotation.MdlElement;

@MdlClass(name = "Xmdl")
@SuppressWarnings("serial")
public class MdlXmdl extends BaseObject {
	@MdlAttribute
	private String prefix;
	@MdlAttribute
	private Boolean lazyFetching = true;
	@MdlElement
	private MdlDataSource dataSource;
	@MdlElement
	private MdlTransaction transaction;
	@MdlElement
	private MdlAdmin admin;
	@MdlElement
	private MdlProject project;
	@MdlElement(singular = "package")
	private List<MdlPackage> packages;
	@MdlElement
	private MdlWeb web;
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public Boolean getLazyFetching() {
		return lazyFetching;
	}
	public void setLazyFetching(Boolean lazyFetching) {
		this.lazyFetching = lazyFetching;
	}
	public MdlDataSource getDataSource() {
		return dataSource;
	}
	public void setDataSource(MdlDataSource dataSource) {
		this.dataSource = dataSource;
	}
	public MdlTransaction getTransaction() {
		return transaction;
	}
	public void setTransaction(MdlTransaction transaction) {
		this.transaction = transaction;
	}
	public MdlAdmin getAdmin() {
		return admin;
	}
	public void setAdmin(MdlAdmin admin) {
		this.admin = admin;
	}
	public MdlProject getProject() {
		return project;
	}
	public void setProject(MdlProject project) {
		this.project = project;
	}
	public List<MdlPackage> getPackages() {
		return packages;
	}
	public void setPackages(List<MdlPackage> packages) {
		this.packages = packages;
	}
	public MdlWeb getWeb() {
		return web;
	}
	public void setWeb(MdlWeb web) {
		this.web = web;
	}
}
